<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>lxp_test</title>
		<script type="text/javascript" src="../jQuery-2.1.4.min.js" ></script>
		<script type="text/javascript" src="../layer-v3.1.0/layer/layer.js" ></script>
		
  </head>
  <body>
    <button id="a">a</button>
		 <button id="b">b</button>
  	 <button id="c">c</button>
  	 <div id="d">xxxxxxxxxx</div>
  </body>
  
  <script  type="text/javascript">
//			$("#a").click(function(){
//					var a = layer.confirm('is not?', function(index){
//						console.log(111)
//						layer.close(index);
//
//					},
//					function (){
//						console.log(22222)
//					}
//					);
// 					console.log(a)
//			});
			var arr = ['a','b','c'];
			for (var i in arr) {
				console.log(i) 
			}
			
			
		</script>
</html>